home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
LIFE6__
/
PROTO
/
P
/
PCOMMONL.C
< prev
next >
Wrap
Text File
|
1991-08-16
|
6KB
|
140 lines
/* PCommonLife6 Common
Name: PCommonLife6.c
Function: Common for the Prototyper specific code.
History: 8/16/91 Original by Prototyper 3.0
*/
#include "PCommonLife6.h" /* Common */
/* ======================================================= */
UserEventHRec UserEventList; /* User Event record list start */
EventRecord myEvent; /* Event record for all events */
Boolean WNE; /* WaitNextEvent trap is available */
short SleepValue; /* Sleep value for Wait on events */
Boolean doneFlag; /* Exit program flag */
TEHandle theInput; /* Used in text edit selections */
Rect tempRect; /* Temporary rect, not for long term use */
Str255 sTemp; /* Temporary string, not for long term use */
Boolean HasColorQD; /* Flag for Color QuickDraw being available */
Boolean HasFPU; /* Flag for Floating Point Math Chip being available */
Boolean InTheForeground; /* Flag for running in MultiFinder foreground */
short tempChar; /*Temporary use character*/
MenuHandle Menu_Apple; /* Menu handle */
MenuHandle Menu_File; /* Menu handle */
MenuHandle Menu_Edit; /* Menu handle */
MenuHandle Menu_Life_Stuff; /* Menu handle */
/* Variables for the modal dialog titled "About Life" */
/* Window variables for the window titled "Life 4a" */
WindowPtr WPtr_Life_4a; /* Window pointer */
ControlHandle Ctrl_GO; /* ...Button */
ControlHandle Ctrl_Rect_hotspot1_1; /* ...HotSpot */
Rect HotRect_Rect_hotspot1_1;
ControlHandle Ctrl_Rect_hotspot1_2; /* ...HotSpot */
Rect HotRect_Rect_hotspot1_2;
ControlHandle Ctrl_Rect_hotspot1_3; /* ...HotSpot */
Rect HotRect_Rect_hotspot1_3;
ControlHandle Ctrl_Rect_hotspot1_4; /* ...HotSpot */
Rect HotRect_Rect_hotspot1_4;
ControlHandle Ctrl_Rect_hotspot1_5; /* ...HotSpot */
Rect HotRect_Rect_hotspot1_5;
ControlHandle Ctrl_Rect_hotspot1_6; /* ...HotSpot */
Rect HotRect_Rect_hotspot1_6;
ControlHandle Ctrl_Rect_hotspot1_7; /* ...HotSpot */
Rect HotRect_Rect_hotspot1_7;
ControlHandle Ctrl_Rect_hotspot1_8; /* ...HotSpot */
Rect HotRect_Rect_hotspot1_8;
ControlHandle Ctrl_Rect_hotspot2_1; /* ...HotSpot */
Rect HotRect_Rect_hotspot2_1;
ControlHandle Ctrl_Rect_hotspot2_2; /* ...HotSpot */
Rect HotRect_Rect_hotspot2_2;
ControlHandle Ctrl_Rect_hotspot2_3; /* ...HotSpot */
Rect HotRect_Rect_hotspot2_3;
ControlHandle Ctrl_Rect_hotspot2_4; /* ...HotSpot */
Rect HotRect_Rect_hotspot2_4;
ControlHandle Ctrl_Rect_hotspot2_5; /* ...HotSpot */
Rect HotRect_Rect_hotspot2_5;
ControlHandle Ctrl_Rect_hotspot2_6; /* ...HotSpot */
Rect HotRect_Rect_hotspot2_6;
ControlHandle Ctrl_Rect_hotspot2_7; /* ...HotSpot */
Rect HotRect_Rect_hotspot2_7;
ControlHandle Ctrl_Rect_hotspot2_8; /* ...HotSpot */
Rect HotRect_Rect_hotspot2_8;
ControlHandle Ctrl_Rect_hotspot3_1; /* ...HotSpot */
Rect HotRect_Rect_hotspot3_1;
ControlHandle Ctrl_Rect_hotspot3_2; /* ...HotSpot */
Rect HotRect_Rect_hotspot3_2;
ControlHandle Ctrl_Rect_hotspot3_3; /* ...HotSpot */
Rect HotRect_Rect_hotspot3_3;
ControlHandle Ctrl_Rect_hotspot3_4; /* ...HotSpot */
Rect HotRect_Rect_hotspot3_4;
ControlHandle Ctrl_Rect_hotspot3_5; /* ...HotSpot */
Rect HotRect_Rect_hotspot3_5;
ControlHandle Ctrl_Rect_hotspot3_6; /* ...HotSpot */
Rect HotRect_Rect_hotspot3_6;
ControlHandle Ctrl_Rect_hotspot3_7; /* ...HotSpot */
Rect HotRect_Rect_hotspot3_7;
ControlHandle Ctrl_Rect_hotspot3_8; /* ...HotSpot */
Rect HotRect_Rect_hotspot3_8;
ControlHandle Ctrl_Rect_hotspot4_1; /* ...HotSpot */
Rect HotRect_Rect_hotspot4_1;
ControlHandle Ctrl_Rect_hotspot4_2; /* ...HotSpot */
Rect HotRect_Rect_hotspot4_2;
ControlHandle Ctrl_Rect_hotspot4_3; /* ...HotSpot */
Rect HotRect_Rect_hotspot4_3;
ControlHandle Ctrl_Rect_hotspot4_4; /* ...HotSpot */
Rect HotRect_Rect_hotspot4_4;
ControlHandle Ctrl_Rect_hotspot4_52; /* ...HotSpot */
Rect HotRect_Rect_hotspot4_52;
ControlHandle Ctrl_Rect_hotspot4_6; /* ...HotSpot */
Rect HotRect_Rect_hotspot4_6;
ControlHandle Ctrl_Rect_hotspot4_7; /* ...HotSpot */
Rect HotRect_Rect_hotspot4_7;
ControlHandle Ctrl_Rect_hotspot4_8; /* ...HotSpot */
Rect HotRect_Rect_hotspot4_8;
ControlHandle Ctrl_Rect_hotspot5_1; /* ...HotSpot */
Rect HotRect_Rect_hotspot5_1;
ControlHandle Ctrl_Rect_hotspot5_2; /* ...HotSpot */
Rect HotRect_Rect_hotspot5_2;
ControlHandle Ctrl_Rect_hotspot5_3; /* ...HotSpot */
Rect HotRect_Rect_hotspot5_3;
ControlHandle Ctrl_Rect_hotspot5_4; /* ...HotSpot */
Rect HotRect_Rect_hotspot5_4;
ControlHandle Ctrl_Rect_hotspot5_5; /* ...HotSpot */
Rect HotRect_Rect_hotspot5_5;
ControlHandle Ctrl_Rect_hotspot5_6; /* ...HotSpot */
Rect HotRect_Rect_hotspot5_6;
ControlHandle Ctrl_Rect_hotspot5_7; /* ...HotSpot */
Rect HotRect_Rect_hotspot5_7;
ControlHandle Ctrl_Rect_hotspot5_8; /* ...HotSpot */
Rect HotRect_Rect_hotspot5_8;
ControlHandle Ctrl_Rect_hotspot6_1; /* ...HotSpot */
Rect HotRect_Rect_hotspot6_1;
ControlHandle Ctrl_Rect_hotspot6_2; /* ...HotSpot */
Rect HotRect_Rect_hotspot6_2;
ControlHandle Ctrl_Rect_hotspot6_3; /* ...HotSpot */
Rect HotRect_Rect_hotspot6_3;
ControlHandle Ctrl_Rect_hotspot6_4; /* ...HotSpot */
Rect HotRect_Rect_hotspot6_4;
ControlHandle Ctrl_Rect_hotspot6_5; /* ...HotSpot */
Rect HotRect_Rect_hotspot6_5;
ControlHandle Ctrl_Rect_hotspot6_6; /* ...HotSpot */
Rect HotRect_Rect_hotspot6_6;
ControlHandle Ctrl_Rect_hotspot6_7; /* ...HotSpot */
Rect HotRect_Rect_hotspot6_7;
ControlHandle Ctrl_Rect_hotspot6_8; /* ...HotSpot */
Rect HotRect_Rect_hotspot6_8;
/* ======================================================= */